
/*
 * =====================================================================================
 *
 *       Filename:  HttpParam.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  03/04/19 19:28:30
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  liushuyong (), shuyong1999@163.com
 *        Company:  shuyong
 *
 * =====================================================================================
 */
#ifndef HttpParam_H_
#define HttpParam_H_
#include <memory>
#include "CommHead.h"

using std::string;
using std::endl;
using std::shared_ptr;

//params parse from http request
typedef struct HttpParam {
  public:
    HttpParam();
    ~HttpParam();

  public:
    string mAppID; //appid
    string mReqID; //请求ID
    int mSeqID;    //请求中的序列ID
    string mTxt;   //要合成的文本
    string mIsDebug;    //是否要debug信息   FIXME
    //string mServiceType;     //服务器类型  TTS 为synthesis
    //string userid_;           //userID  没有实际的用处 del by shuyong 2019-12-16
    //string mProtoVer;       //版本信息 del by shuyong 2019-12-16
    //string net_state_;        //使用的网络wifi， 4g实际没多大用处 没有实际的用处 del by shuyong 2019-12-16
    //string applicator_;       //应用者     del by shuyong 2019-12-16
    //string platform_;         //各平台的机型信息  del by shuyong 2019-12-16
    //string version_;          //客户端版本号
    //string mTimeStamp;        //时间戳 del by shuyong 2019-12-16

    double mEngineParam[SUPPORT_PARAMETERS_NUM];    //合成参数
} HttpParam;

typedef shared_ptr < HttpParam > HttpParamSPtr; //动态指针

#endif
